﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;
using UnityEngine.Rendering;

namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class UnityEngineRenderingCommandBufferWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(UnityEngine.Rendering.CommandBuffer);
			Utils.BeginObjectRegister(type, L, translator, 0, 93, 2, 1);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ConvertTexture", _m_ConvertTexture);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "WaitAllAsyncReadbackRequests", _m_WaitAllAsyncReadbackRequests);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RequestAsyncReadback", _m_RequestAsyncReadback);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetInvertCulling", _m_SetInvertCulling);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeFloatParam", _m_SetComputeFloatParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeIntParam", _m_SetComputeIntParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeVectorParam", _m_SetComputeVectorParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeVectorArrayParam", _m_SetComputeVectorArrayParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeMatrixParam", _m_SetComputeMatrixParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeMatrixArrayParam", _m_SetComputeMatrixArrayParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingShaderPass", _m_SetRayTracingShaderPass);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Clear", _m_Clear);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearRandomWriteTargets", _m_ClearRandomWriteTargets);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetViewport", _m_SetViewport);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "EnableScissorRect", _m_EnableScissorRect);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DisableScissorRect", _m_DisableScissorRect);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTemporaryRT", _m_GetTemporaryRT);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTemporaryRTArray", _m_GetTemporaryRTArray);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReleaseTemporaryRT", _m_ReleaseTemporaryRT);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearRenderTarget", _m_ClearRenderTarget);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalFloat", _m_SetGlobalFloat);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalInt", _m_SetGlobalInt);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalVector", _m_SetGlobalVector);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalColor", _m_SetGlobalColor);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalMatrix", _m_SetGlobalMatrix);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "EnableShaderKeyword", _m_EnableShaderKeyword);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DisableShaderKeyword", _m_DisableShaderKeyword);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetViewMatrix", _m_SetViewMatrix);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetProjectionMatrix", _m_SetProjectionMatrix);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetViewProjectionMatrices", _m_SetViewProjectionMatrices);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalDepthBias", _m_SetGlobalDepthBias);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetExecutionFlags", _m_SetExecutionFlags);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalFloatArray", _m_SetGlobalFloatArray);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalVectorArray", _m_SetGlobalVectorArray);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalMatrixArray", _m_SetGlobalMatrixArray);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "BeginSample", _m_BeginSample);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "EndSample", _m_EndSample);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "IncrementUpdateCount", _m_IncrementUpdateCount);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetInstanceMultiplier", _m_SetInstanceMultiplier);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRenderTarget", _m_SetRenderTarget);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeBufferData", _m_SetComputeBufferData);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeBufferCounterValue", _m_SetComputeBufferCounterValue);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Dispose", _m_Dispose);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Release", _m_Release);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateAsyncGraphicsFence", _m_CreateAsyncGraphicsFence);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateGraphicsFence", _m_CreateGraphicsFence);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "WaitOnAsyncGraphicsFence", _m_WaitOnAsyncGraphicsFence);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeFloatParams", _m_SetComputeFloatParams);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeIntParams", _m_SetComputeIntParams);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeTextureParam", _m_SetComputeTextureParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeBufferParam", _m_SetComputeBufferParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetComputeConstantBufferParam", _m_SetComputeConstantBufferParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DispatchCompute", _m_DispatchCompute);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "BuildRayTracingAccelerationStructure", _m_BuildRayTracingAccelerationStructure);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingAccelerationStructure", _m_SetRayTracingAccelerationStructure);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingBufferParam", _m_SetRayTracingBufferParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingConstantBufferParam", _m_SetRayTracingConstantBufferParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingTextureParam", _m_SetRayTracingTextureParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingFloatParam", _m_SetRayTracingFloatParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingFloatParams", _m_SetRayTracingFloatParams);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingIntParam", _m_SetRayTracingIntParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingIntParams", _m_SetRayTracingIntParams);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingVectorParam", _m_SetRayTracingVectorParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingVectorArrayParam", _m_SetRayTracingVectorArrayParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingMatrixParam", _m_SetRayTracingMatrixParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRayTracingMatrixArrayParam", _m_SetRayTracingMatrixArrayParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DispatchRays", _m_DispatchRays);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GenerateMips", _m_GenerateMips);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResolveAntiAliasedSurface", _m_ResolveAntiAliasedSurface);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DrawMesh", _m_DrawMesh);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DrawRenderer", _m_DrawRenderer);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DrawProcedural", _m_DrawProcedural);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DrawProceduralIndirect", _m_DrawProceduralIndirect);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DrawMeshInstanced", _m_DrawMeshInstanced);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DrawMeshInstancedProcedural", _m_DrawMeshInstancedProcedural);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DrawMeshInstancedIndirect", _m_DrawMeshInstancedIndirect);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DrawOcclusionMesh", _m_DrawOcclusionMesh);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRandomWriteTarget", _m_SetRandomWriteTarget);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CopyCounterValue", _m_CopyCounterValue);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CopyTexture", _m_CopyTexture);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Blit", _m_Blit);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalTexture", _m_SetGlobalTexture);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalBuffer", _m_SetGlobalBuffer);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGlobalConstantBuffer", _m_SetGlobalConstantBuffer);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetShadowSamplingMode", _m_SetShadowSamplingMode);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSinglePassStereo", _m_SetSinglePassStereo);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "IssuePluginEvent", _m_IssuePluginEvent);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "IssuePluginEventAndData", _m_IssuePluginEventAndData);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "IssuePluginCustomBlit", _m_IssuePluginCustomBlit);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "IssuePluginCustomTextureUpdateV2", _m_IssuePluginCustomTextureUpdateV2);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ProcessVTFeedback", _m_ProcessVTFeedback);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SwitchIntoFastMemory", _m_SwitchIntoFastMemory);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SwitchOutOfFastMemory", _m_SwitchOutOfFastMemory);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "name", _g_get_name);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "sizeInBytes", _g_get_sizeInBytes);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "name", _s_set_name);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
			
			
            
			
			
			
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new UnityEngine.Rendering.CommandBuffer();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
			}
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer constructor!");
            
        }
        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ConvertTexture(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _src;translator.Get(L, 2, out _src);
                    UnityEngine.Rendering.RenderTargetIdentifier _dst;translator.Get(L, 3, out _dst);
                    
                    gen_to_be_invoked.ConvertTexture( _src, _dst );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _src;translator.Get(L, 2, out _src);
                    int _srcElement = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Rendering.RenderTargetIdentifier _dst;translator.Get(L, 4, out _dst);
                    int _dstElement = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.ConvertTexture( _src, _srcElement, _dst, _dstElement );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.ConvertTexture!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_WaitAllAsyncReadbackRequests(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.WaitAllAsyncReadbackRequests(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RequestAsyncReadback(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 2)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 3)) 
                {
                    UnityEngine.ComputeBuffer _src = (UnityEngine.ComputeBuffer)translator.GetObject(L, 2, typeof(UnityEngine.ComputeBuffer));
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 3);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 3)) 
                {
                    UnityEngine.GraphicsBuffer _src = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 3);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Texture>(L, 2)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 3)) 
                {
                    UnityEngine.Texture _src = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 3);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Texture>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 4)) 
                {
                    UnityEngine.Texture _src = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    int _mipIndex = LuaAPI.xlua_tointeger(L, 3);
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 4);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _mipIndex, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 5)) 
                {
                    UnityEngine.ComputeBuffer _src = (UnityEngine.ComputeBuffer)translator.GetObject(L, 2, typeof(UnityEngine.ComputeBuffer));
                    int _size = LuaAPI.xlua_tointeger(L, 3);
                    int _offset = LuaAPI.xlua_tointeger(L, 4);
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 5);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _size, _offset, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 5)) 
                {
                    UnityEngine.GraphicsBuffer _src = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    int _size = LuaAPI.xlua_tointeger(L, 3);
                    int _offset = LuaAPI.xlua_tointeger(L, 4);
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 5);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _size, _offset, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 10&& translator.Assignable<UnityEngine.Texture>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 10)) 
                {
                    UnityEngine.Texture _src = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    int _mipIndex = LuaAPI.xlua_tointeger(L, 3);
                    int _x = LuaAPI.xlua_tointeger(L, 4);
                    int _width = LuaAPI.xlua_tointeger(L, 5);
                    int _y = LuaAPI.xlua_tointeger(L, 6);
                    int _height = LuaAPI.xlua_tointeger(L, 7);
                    int _z = LuaAPI.xlua_tointeger(L, 8);
                    int _depth = LuaAPI.xlua_tointeger(L, 9);
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 10);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _mipIndex, _x, _width, _y, _height, _z, _depth, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Texture>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.TextureFormat>(L, 4)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 5)) 
                {
                    UnityEngine.Texture _src = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    int _mipIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.TextureFormat _dstFormat;translator.Get(L, 4, out _dstFormat);
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 5);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _mipIndex, _dstFormat, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Texture>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 4)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 5)) 
                {
                    UnityEngine.Texture _src = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    int _mipIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _dstFormat;translator.Get(L, 4, out _dstFormat);
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 5);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _mipIndex, _dstFormat, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 11&& translator.Assignable<UnityEngine.Texture>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)&& translator.Assignable<UnityEngine.TextureFormat>(L, 10)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 11)) 
                {
                    UnityEngine.Texture _src = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    int _mipIndex = LuaAPI.xlua_tointeger(L, 3);
                    int _x = LuaAPI.xlua_tointeger(L, 4);
                    int _width = LuaAPI.xlua_tointeger(L, 5);
                    int _y = LuaAPI.xlua_tointeger(L, 6);
                    int _height = LuaAPI.xlua_tointeger(L, 7);
                    int _z = LuaAPI.xlua_tointeger(L, 8);
                    int _depth = LuaAPI.xlua_tointeger(L, 9);
                    UnityEngine.TextureFormat _dstFormat;translator.Get(L, 10, out _dstFormat);
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 11);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _mipIndex, _x, _width, _y, _height, _z, _depth, _dstFormat, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 11&& translator.Assignable<UnityEngine.Texture>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 10)&& translator.Assignable<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 11)) 
                {
                    UnityEngine.Texture _src = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    int _mipIndex = LuaAPI.xlua_tointeger(L, 3);
                    int _x = LuaAPI.xlua_tointeger(L, 4);
                    int _width = LuaAPI.xlua_tointeger(L, 5);
                    int _y = LuaAPI.xlua_tointeger(L, 6);
                    int _height = LuaAPI.xlua_tointeger(L, 7);
                    int _z = LuaAPI.xlua_tointeger(L, 8);
                    int _depth = LuaAPI.xlua_tointeger(L, 9);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _dstFormat;translator.Get(L, 10, out _dstFormat);
                    System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest> _callback = translator.GetDelegate<System.Action<UnityEngine.Rendering.AsyncGPUReadbackRequest>>(L, 11);
                    
                    gen_to_be_invoked.RequestAsyncReadback( _src, _mipIndex, _x, _width, _y, _height, _z, _depth, _dstFormat, _callback );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.RequestAsyncReadback!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetInvertCulling(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    bool _invertCulling = LuaAPI.lua_toboolean(L, 2);
                    
                    gen_to_be_invoked.SetInvertCulling( _invertCulling );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeFloatParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    float _val = (float)LuaAPI.lua_tonumber(L, 4);
                    
                    gen_to_be_invoked.SetComputeFloatParam( _computeShader, _nameID, _val );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    float _val = (float)LuaAPI.lua_tonumber(L, 4);
                    
                    gen_to_be_invoked.SetComputeFloatParam( _computeShader, _name, _val );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeFloatParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeIntParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    int _val = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.SetComputeIntParam( _computeShader, _nameID, _val );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    int _val = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.SetComputeIntParam( _computeShader, _name, _val );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeIntParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeVectorParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Vector4>(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Vector4 _val;translator.Get(L, 4, out _val);
                    
                    gen_to_be_invoked.SetComputeVectorParam( _computeShader, _nameID, _val );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Vector4>(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.Vector4 _val;translator.Get(L, 4, out _val);
                    
                    gen_to_be_invoked.SetComputeVectorParam( _computeShader, _name, _val );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeVectorParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeVectorArrayParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Vector4[]>(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Vector4[] _values = (UnityEngine.Vector4[])translator.GetObject(L, 4, typeof(UnityEngine.Vector4[]));
                    
                    gen_to_be_invoked.SetComputeVectorArrayParam( _computeShader, _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Vector4[]>(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.Vector4[] _values = (UnityEngine.Vector4[])translator.GetObject(L, 4, typeof(UnityEngine.Vector4[]));
                    
                    gen_to_be_invoked.SetComputeVectorArrayParam( _computeShader, _name, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeVectorArrayParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeMatrixParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Matrix4x4 _val;translator.Get(L, 4, out _val);
                    
                    gen_to_be_invoked.SetComputeMatrixParam( _computeShader, _nameID, _val );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.Matrix4x4 _val;translator.Get(L, 4, out _val);
                    
                    gen_to_be_invoked.SetComputeMatrixParam( _computeShader, _name, _val );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeMatrixParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeMatrixArrayParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Matrix4x4[]>(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Matrix4x4[] _values = (UnityEngine.Matrix4x4[])translator.GetObject(L, 4, typeof(UnityEngine.Matrix4x4[]));
                    
                    gen_to_be_invoked.SetComputeMatrixArrayParam( _computeShader, _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Matrix4x4[]>(L, 4)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.Matrix4x4[] _values = (UnityEngine.Matrix4x4[])translator.GetObject(L, 4, typeof(UnityEngine.Matrix4x4[]));
                    
                    gen_to_be_invoked.SetComputeMatrixArrayParam( _computeShader, _name, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeMatrixArrayParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingShaderPass(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _passName = LuaAPI.lua_tostring(L, 3);
                    
                    gen_to_be_invoked.SetRayTracingShaderPass( _rayTracingShader, _passName );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Clear(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.Clear(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ClearRandomWriteTargets(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.ClearRandomWriteTargets(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetViewport(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Rect _pixelRect;translator.Get(L, 2, out _pixelRect);
                    
                    gen_to_be_invoked.SetViewport( _pixelRect );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_EnableScissorRect(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Rect _scissor;translator.Get(L, 2, out _scissor);
                    
                    gen_to_be_invoked.EnableScissorRect( _scissor );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DisableScissorRect(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.DisableScissorRect(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetTemporaryRT(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.RenderTextureDescriptor>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.RenderTextureDescriptor _desc;translator.Get(L, 3, out _desc);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _desc );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.RenderTextureDescriptor>(L, 3)&& translator.Assignable<UnityEngine.FilterMode>(L, 4)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.RenderTextureDescriptor _desc;translator.Get(L, 3, out _desc);
                    UnityEngine.FilterMode _filter;translator.Get(L, 4, out _filter);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _desc, _filter );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 7)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _format;translator.Get(L, 7, out _format);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.RenderTextureFormat>(L, 7)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.RenderTextureFormat _format;translator.Get(L, 7, out _format);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _format;translator.Get(L, 7, out _format);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 8);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format, _antiAliasing );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 9&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 9)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _format;translator.Get(L, 7, out _format);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 8);
                    bool _enableRandomWrite = LuaAPI.lua_toboolean(L, 9);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format, _antiAliasing, _enableRandomWrite );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.RenderTextureFormat>(L, 7)&& translator.Assignable<UnityEngine.RenderTextureReadWrite>(L, 8)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.RenderTextureFormat _format;translator.Get(L, 7, out _format);
                    UnityEngine.RenderTextureReadWrite _readWrite;translator.Get(L, 8, out _readWrite);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format, _readWrite );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 9&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.RenderTextureFormat>(L, 7)&& translator.Assignable<UnityEngine.RenderTextureReadWrite>(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.RenderTextureFormat _format;translator.Get(L, 7, out _format);
                    UnityEngine.RenderTextureReadWrite _readWrite;translator.Get(L, 8, out _readWrite);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 9);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format, _readWrite, _antiAliasing );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 10&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 9)&& translator.Assignable<UnityEngine.RenderTextureMemoryless>(L, 10)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _format;translator.Get(L, 7, out _format);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 8);
                    bool _enableRandomWrite = LuaAPI.lua_toboolean(L, 9);
                    UnityEngine.RenderTextureMemoryless _memorylessMode;translator.Get(L, 10, out _memorylessMode);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format, _antiAliasing, _enableRandomWrite, _memorylessMode );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 10&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.RenderTextureFormat>(L, 7)&& translator.Assignable<UnityEngine.RenderTextureReadWrite>(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 10)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.RenderTextureFormat _format;translator.Get(L, 7, out _format);
                    UnityEngine.RenderTextureReadWrite _readWrite;translator.Get(L, 8, out _readWrite);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 9);
                    bool _enableRandomWrite = LuaAPI.lua_toboolean(L, 10);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format, _readWrite, _antiAliasing, _enableRandomWrite );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 11&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 9)&& translator.Assignable<UnityEngine.RenderTextureMemoryless>(L, 10)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 11)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _format;translator.Get(L, 7, out _format);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 8);
                    bool _enableRandomWrite = LuaAPI.lua_toboolean(L, 9);
                    UnityEngine.RenderTextureMemoryless _memorylessMode;translator.Get(L, 10, out _memorylessMode);
                    bool _useDynamicScale = LuaAPI.lua_toboolean(L, 11);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format, _antiAliasing, _enableRandomWrite, _memorylessMode, _useDynamicScale );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 11&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.RenderTextureFormat>(L, 7)&& translator.Assignable<UnityEngine.RenderTextureReadWrite>(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 10)&& translator.Assignable<UnityEngine.RenderTextureMemoryless>(L, 11)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.RenderTextureFormat _format;translator.Get(L, 7, out _format);
                    UnityEngine.RenderTextureReadWrite _readWrite;translator.Get(L, 8, out _readWrite);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 9);
                    bool _enableRandomWrite = LuaAPI.lua_toboolean(L, 10);
                    UnityEngine.RenderTextureMemoryless _memorylessMode;translator.Get(L, 11, out _memorylessMode);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format, _readWrite, _antiAliasing, _enableRandomWrite, _memorylessMode );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 12&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.FilterMode>(L, 6)&& translator.Assignable<UnityEngine.RenderTextureFormat>(L, 7)&& translator.Assignable<UnityEngine.RenderTextureReadWrite>(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 10)&& translator.Assignable<UnityEngine.RenderTextureMemoryless>(L, 11)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 12)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.FilterMode _filter;translator.Get(L, 6, out _filter);
                    UnityEngine.RenderTextureFormat _format;translator.Get(L, 7, out _format);
                    UnityEngine.RenderTextureReadWrite _readWrite;translator.Get(L, 8, out _readWrite);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 9);
                    bool _enableRandomWrite = LuaAPI.lua_toboolean(L, 10);
                    UnityEngine.RenderTextureMemoryless _memorylessMode;translator.Get(L, 11, out _memorylessMode);
                    bool _useDynamicScale = LuaAPI.lua_toboolean(L, 12);
                    
                    gen_to_be_invoked.GetTemporaryRT( _nameID, _width, _height, _depthBuffer, _filter, _format, _readWrite, _antiAliasing, _enableRandomWrite, _memorylessMode, _useDynamicScale );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.GetTemporaryRT!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetTemporaryRTArray(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices, _depthBuffer );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.FilterMode>(L, 7)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.FilterMode _filter;translator.Get(L, 7, out _filter);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices, _depthBuffer, _filter );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.FilterMode>(L, 7)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 8)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.FilterMode _filter;translator.Get(L, 7, out _filter);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _format;translator.Get(L, 8, out _format);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices, _depthBuffer, _filter, _format );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.FilterMode>(L, 7)&& translator.Assignable<UnityEngine.RenderTextureFormat>(L, 8)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.FilterMode _filter;translator.Get(L, 7, out _filter);
                    UnityEngine.RenderTextureFormat _format;translator.Get(L, 8, out _format);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices, _depthBuffer, _filter, _format );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 9&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.FilterMode>(L, 7)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.FilterMode _filter;translator.Get(L, 7, out _filter);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _format;translator.Get(L, 8, out _format);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 9);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices, _depthBuffer, _filter, _format, _antiAliasing );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 10&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.FilterMode>(L, 7)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 10)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.FilterMode _filter;translator.Get(L, 7, out _filter);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _format;translator.Get(L, 8, out _format);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 9);
                    bool _enableRandomWrite = LuaAPI.lua_toboolean(L, 10);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices, _depthBuffer, _filter, _format, _antiAliasing, _enableRandomWrite );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 11&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.FilterMode>(L, 7)&& translator.Assignable<UnityEngine.Experimental.Rendering.GraphicsFormat>(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 10)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 11)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.FilterMode _filter;translator.Get(L, 7, out _filter);
                    UnityEngine.Experimental.Rendering.GraphicsFormat _format;translator.Get(L, 8, out _format);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 9);
                    bool _enableRandomWrite = LuaAPI.lua_toboolean(L, 10);
                    bool _useDynamicScale = LuaAPI.lua_toboolean(L, 11);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices, _depthBuffer, _filter, _format, _antiAliasing, _enableRandomWrite, _useDynamicScale );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 9&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.FilterMode>(L, 7)&& translator.Assignable<UnityEngine.RenderTextureFormat>(L, 8)&& translator.Assignable<UnityEngine.RenderTextureReadWrite>(L, 9)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.FilterMode _filter;translator.Get(L, 7, out _filter);
                    UnityEngine.RenderTextureFormat _format;translator.Get(L, 8, out _format);
                    UnityEngine.RenderTextureReadWrite _readWrite;translator.Get(L, 9, out _readWrite);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices, _depthBuffer, _filter, _format, _readWrite );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 10&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.FilterMode>(L, 7)&& translator.Assignable<UnityEngine.RenderTextureFormat>(L, 8)&& translator.Assignable<UnityEngine.RenderTextureReadWrite>(L, 9)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 10)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.FilterMode _filter;translator.Get(L, 7, out _filter);
                    UnityEngine.RenderTextureFormat _format;translator.Get(L, 8, out _format);
                    UnityEngine.RenderTextureReadWrite _readWrite;translator.Get(L, 9, out _readWrite);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 10);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices, _depthBuffer, _filter, _format, _readWrite, _antiAliasing );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 11&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.FilterMode>(L, 7)&& translator.Assignable<UnityEngine.RenderTextureFormat>(L, 8)&& translator.Assignable<UnityEngine.RenderTextureReadWrite>(L, 9)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 10)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 11)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _width = LuaAPI.xlua_tointeger(L, 3);
                    int _height = LuaAPI.xlua_tointeger(L, 4);
                    int _slices = LuaAPI.xlua_tointeger(L, 5);
                    int _depthBuffer = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.FilterMode _filter;translator.Get(L, 7, out _filter);
                    UnityEngine.RenderTextureFormat _format;translator.Get(L, 8, out _format);
                    UnityEngine.RenderTextureReadWrite _readWrite;translator.Get(L, 9, out _readWrite);
                    int _antiAliasing = LuaAPI.xlua_tointeger(L, 10);
                    bool _enableRandomWrite = LuaAPI.lua_toboolean(L, 11);
                    
                    gen_to_be_invoked.GetTemporaryRTArray( _nameID, _width, _height, _slices, _depthBuffer, _filter, _format, _readWrite, _antiAliasing, _enableRandomWrite );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.GetTemporaryRTArray!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ReleaseTemporaryRT(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.ReleaseTemporaryRT( _nameID );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ClearRenderTarget(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Color>(L, 4)) 
                {
                    bool _clearDepth = LuaAPI.lua_toboolean(L, 2);
                    bool _clearColor = LuaAPI.lua_toboolean(L, 3);
                    UnityEngine.Color _backgroundColor;translator.Get(L, 4, out _backgroundColor);
                    
                    gen_to_be_invoked.ClearRenderTarget( _clearDepth, _clearColor, _backgroundColor );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Color>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    bool _clearDepth = LuaAPI.lua_toboolean(L, 2);
                    bool _clearColor = LuaAPI.lua_toboolean(L, 3);
                    UnityEngine.Color _backgroundColor;translator.Get(L, 4, out _backgroundColor);
                    float _depth = (float)LuaAPI.lua_tonumber(L, 5);
                    
                    gen_to_be_invoked.ClearRenderTarget( _clearDepth, _clearColor, _backgroundColor, _depth );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.ClearRenderTarget!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalFloat(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    float _value = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    gen_to_be_invoked.SetGlobalFloat( _nameID, _value );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    float _value = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    gen_to_be_invoked.SetGlobalFloat( _name, _value );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalFloat!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalInt(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    int _value = LuaAPI.xlua_tointeger(L, 3);
                    
                    gen_to_be_invoked.SetGlobalInt( _nameID, _value );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    int _value = LuaAPI.xlua_tointeger(L, 3);
                    
                    gen_to_be_invoked.SetGlobalInt( _name, _value );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalInt!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalVector(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Vector4>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.Vector4 _value;translator.Get(L, 3, out _value);
                    
                    gen_to_be_invoked.SetGlobalVector( _nameID, _value );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Vector4>(L, 3)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    UnityEngine.Vector4 _value;translator.Get(L, 3, out _value);
                    
                    gen_to_be_invoked.SetGlobalVector( _name, _value );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalVector!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalColor(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Color>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.Color _value;translator.Get(L, 3, out _value);
                    
                    gen_to_be_invoked.SetGlobalColor( _nameID, _value );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Color>(L, 3)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    UnityEngine.Color _value;translator.Get(L, 3, out _value);
                    
                    gen_to_be_invoked.SetGlobalColor( _name, _value );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalColor!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalMatrix(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.Matrix4x4 _value;translator.Get(L, 3, out _value);
                    
                    gen_to_be_invoked.SetGlobalMatrix( _nameID, _value );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    UnityEngine.Matrix4x4 _value;translator.Get(L, 3, out _value);
                    
                    gen_to_be_invoked.SetGlobalMatrix( _name, _value );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalMatrix!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_EnableShaderKeyword(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    string _keyword = LuaAPI.lua_tostring(L, 2);
                    
                    gen_to_be_invoked.EnableShaderKeyword( _keyword );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DisableShaderKeyword(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    string _keyword = LuaAPI.lua_tostring(L, 2);
                    
                    gen_to_be_invoked.DisableShaderKeyword( _keyword );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetViewMatrix(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Matrix4x4 _view;translator.Get(L, 2, out _view);
                    
                    gen_to_be_invoked.SetViewMatrix( _view );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetProjectionMatrix(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Matrix4x4 _proj;translator.Get(L, 2, out _proj);
                    
                    gen_to_be_invoked.SetProjectionMatrix( _proj );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetViewProjectionMatrices(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Matrix4x4 _view;translator.Get(L, 2, out _view);
                    UnityEngine.Matrix4x4 _proj;translator.Get(L, 3, out _proj);
                    
                    gen_to_be_invoked.SetViewProjectionMatrices( _view, _proj );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalDepthBias(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    float _bias = (float)LuaAPI.lua_tonumber(L, 2);
                    float _slopeBias = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    gen_to_be_invoked.SetGlobalDepthBias( _bias, _slopeBias );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetExecutionFlags(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Rendering.CommandBufferExecutionFlags _flags;translator.Get(L, 2, out _flags);
                    
                    gen_to_be_invoked.SetExecutionFlags( _flags );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalFloatArray(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<float[]>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    float[] _values = (float[])translator.GetObject(L, 3, typeof(float[]));
                    
                    gen_to_be_invoked.SetGlobalFloatArray( _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<System.Collections.Generic.List<float>>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    System.Collections.Generic.List<float> _values = (System.Collections.Generic.List<float>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<float>));
                    
                    gen_to_be_invoked.SetGlobalFloatArray( _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Collections.Generic.List<float>>(L, 3)) 
                {
                    string _propertyName = LuaAPI.lua_tostring(L, 2);
                    System.Collections.Generic.List<float> _values = (System.Collections.Generic.List<float>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<float>));
                    
                    gen_to_be_invoked.SetGlobalFloatArray( _propertyName, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<float[]>(L, 3)) 
                {
                    string _propertyName = LuaAPI.lua_tostring(L, 2);
                    float[] _values = (float[])translator.GetObject(L, 3, typeof(float[]));
                    
                    gen_to_be_invoked.SetGlobalFloatArray( _propertyName, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalFloatArray!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalVectorArray(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Vector4[]>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.Vector4[] _values = (UnityEngine.Vector4[])translator.GetObject(L, 3, typeof(UnityEngine.Vector4[]));
                    
                    gen_to_be_invoked.SetGlobalVectorArray( _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<System.Collections.Generic.List<UnityEngine.Vector4>>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    System.Collections.Generic.List<UnityEngine.Vector4> _values = (System.Collections.Generic.List<UnityEngine.Vector4>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
                    
                    gen_to_be_invoked.SetGlobalVectorArray( _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Collections.Generic.List<UnityEngine.Vector4>>(L, 3)) 
                {
                    string _propertyName = LuaAPI.lua_tostring(L, 2);
                    System.Collections.Generic.List<UnityEngine.Vector4> _values = (System.Collections.Generic.List<UnityEngine.Vector4>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
                    
                    gen_to_be_invoked.SetGlobalVectorArray( _propertyName, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Vector4[]>(L, 3)) 
                {
                    string _propertyName = LuaAPI.lua_tostring(L, 2);
                    UnityEngine.Vector4[] _values = (UnityEngine.Vector4[])translator.GetObject(L, 3, typeof(UnityEngine.Vector4[]));
                    
                    gen_to_be_invoked.SetGlobalVectorArray( _propertyName, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalVectorArray!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalMatrixArray(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4[]>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.Matrix4x4[] _values = (UnityEngine.Matrix4x4[])translator.GetObject(L, 3, typeof(UnityEngine.Matrix4x4[]));
                    
                    gen_to_be_invoked.SetGlobalMatrixArray( _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<System.Collections.Generic.List<UnityEngine.Matrix4x4>>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    System.Collections.Generic.List<UnityEngine.Matrix4x4> _values = (System.Collections.Generic.List<UnityEngine.Matrix4x4>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<UnityEngine.Matrix4x4>));
                    
                    gen_to_be_invoked.SetGlobalMatrixArray( _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Collections.Generic.List<UnityEngine.Matrix4x4>>(L, 3)) 
                {
                    string _propertyName = LuaAPI.lua_tostring(L, 2);
                    System.Collections.Generic.List<UnityEngine.Matrix4x4> _values = (System.Collections.Generic.List<UnityEngine.Matrix4x4>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<UnityEngine.Matrix4x4>));
                    
                    gen_to_be_invoked.SetGlobalMatrixArray( _propertyName, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Matrix4x4[]>(L, 3)) 
                {
                    string _propertyName = LuaAPI.lua_tostring(L, 2);
                    UnityEngine.Matrix4x4[] _values = (UnityEngine.Matrix4x4[])translator.GetObject(L, 3, typeof(UnityEngine.Matrix4x4[]));
                    
                    gen_to_be_invoked.SetGlobalMatrixArray( _propertyName, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalMatrixArray!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_BeginSample(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    
                    gen_to_be_invoked.BeginSample( _name );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Profiling.CustomSampler>(L, 2)) 
                {
                    UnityEngine.Profiling.CustomSampler _sampler = (UnityEngine.Profiling.CustomSampler)translator.GetObject(L, 2, typeof(UnityEngine.Profiling.CustomSampler));
                    
                    gen_to_be_invoked.BeginSample( _sampler );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.BeginSample!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_EndSample(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    
                    gen_to_be_invoked.EndSample( _name );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Profiling.CustomSampler>(L, 2)) 
                {
                    UnityEngine.Profiling.CustomSampler _sampler = (UnityEngine.Profiling.CustomSampler)translator.GetObject(L, 2, typeof(UnityEngine.Profiling.CustomSampler));
                    
                    gen_to_be_invoked.EndSample( _sampler );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.EndSample!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IncrementUpdateCount(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 2, out _dest);
                    
                    gen_to_be_invoked.IncrementUpdateCount( _dest );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetInstanceMultiplier(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    uint _multiplier = LuaAPI.xlua_touint(L, 2);
                    
                    gen_to_be_invoked.SetInstanceMultiplier( _multiplier );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRenderTarget(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 2, out _rt);
                    
                    gen_to_be_invoked.SetRenderTarget( _rt );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Rendering.RenderTargetBinding>(L, 2)) 
                {
                    UnityEngine.Rendering.RenderTargetBinding _binding;translator.Get(L, 2, out _binding);
                    
                    gen_to_be_invoked.SetRenderTarget( _binding );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 2, out _rt);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 3);
                    
                    gen_to_be_invoked.SetRenderTarget( _rt, _mipLevel );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _color;translator.Get(L, 2, out _color);
                    UnityEngine.Rendering.RenderTargetIdentifier _depth;translator.Get(L, 3, out _depth);
                    
                    gen_to_be_invoked.SetRenderTarget( _color, _depth );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier[]>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier[] _colors = (UnityEngine.Rendering.RenderTargetIdentifier[])translator.GetObject(L, 2, typeof(UnityEngine.Rendering.RenderTargetIdentifier[]));
                    UnityEngine.Rendering.RenderTargetIdentifier _depth;translator.Get(L, 3, out _depth);
                    
                    gen_to_be_invoked.SetRenderTarget( _colors, _depth );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.CubemapFace>(L, 4)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 2, out _rt);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.CubemapFace _cubemapFace;translator.Get(L, 4, out _cubemapFace);
                    
                    gen_to_be_invoked.SetRenderTarget( _rt, _mipLevel, _cubemapFace );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _color;translator.Get(L, 2, out _color);
                    UnityEngine.Rendering.RenderTargetIdentifier _depth;translator.Get(L, 3, out _depth);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.SetRenderTarget( _color, _depth, _mipLevel );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.CubemapFace>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 2, out _rt);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.CubemapFace _cubemapFace;translator.Get(L, 4, out _cubemapFace);
                    int _depthSlice = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.SetRenderTarget( _rt, _mipLevel, _cubemapFace, _depthSlice );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Rendering.RenderTargetBinding>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.CubemapFace>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Rendering.RenderTargetBinding _binding;translator.Get(L, 2, out _binding);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.CubemapFace _cubemapFace;translator.Get(L, 4, out _cubemapFace);
                    int _depthSlice = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.SetRenderTarget( _binding, _mipLevel, _cubemapFace, _depthSlice );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderBufferLoadAction>(L, 3)&& translator.Assignable<UnityEngine.Rendering.RenderBufferStoreAction>(L, 4)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 2, out _rt);
                    UnityEngine.Rendering.RenderBufferLoadAction _loadAction;translator.Get(L, 3, out _loadAction);
                    UnityEngine.Rendering.RenderBufferStoreAction _storeAction;translator.Get(L, 4, out _storeAction);
                    
                    gen_to_be_invoked.SetRenderTarget( _rt, _loadAction, _storeAction );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.CubemapFace>(L, 5)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _color;translator.Get(L, 2, out _color);
                    UnityEngine.Rendering.RenderTargetIdentifier _depth;translator.Get(L, 3, out _depth);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.CubemapFace _cubemapFace;translator.Get(L, 5, out _cubemapFace);
                    
                    gen_to_be_invoked.SetRenderTarget( _color, _depth, _mipLevel, _cubemapFace );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.CubemapFace>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _color;translator.Get(L, 2, out _color);
                    UnityEngine.Rendering.RenderTargetIdentifier _depth;translator.Get(L, 3, out _depth);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.CubemapFace _cubemapFace;translator.Get(L, 5, out _cubemapFace);
                    int _depthSlice = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetRenderTarget( _color, _depth, _mipLevel, _cubemapFace, _depthSlice );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier[]>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.CubemapFace>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier[] _colors = (UnityEngine.Rendering.RenderTargetIdentifier[])translator.GetObject(L, 2, typeof(UnityEngine.Rendering.RenderTargetIdentifier[]));
                    UnityEngine.Rendering.RenderTargetIdentifier _depth;translator.Get(L, 3, out _depth);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.CubemapFace _cubemapFace;translator.Get(L, 5, out _cubemapFace);
                    int _depthSlice = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetRenderTarget( _colors, _depth, _mipLevel, _cubemapFace, _depthSlice );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderBufferLoadAction>(L, 3)&& translator.Assignable<UnityEngine.Rendering.RenderBufferStoreAction>(L, 4)&& translator.Assignable<UnityEngine.Rendering.RenderBufferLoadAction>(L, 5)&& translator.Assignable<UnityEngine.Rendering.RenderBufferStoreAction>(L, 6)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 2, out _rt);
                    UnityEngine.Rendering.RenderBufferLoadAction _colorLoadAction;translator.Get(L, 3, out _colorLoadAction);
                    UnityEngine.Rendering.RenderBufferStoreAction _colorStoreAction;translator.Get(L, 4, out _colorStoreAction);
                    UnityEngine.Rendering.RenderBufferLoadAction _depthLoadAction;translator.Get(L, 5, out _depthLoadAction);
                    UnityEngine.Rendering.RenderBufferStoreAction _depthStoreAction;translator.Get(L, 6, out _depthStoreAction);
                    
                    gen_to_be_invoked.SetRenderTarget( _rt, _colorLoadAction, _colorStoreAction, _depthLoadAction, _depthStoreAction );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderBufferLoadAction>(L, 3)&& translator.Assignable<UnityEngine.Rendering.RenderBufferStoreAction>(L, 4)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 5)&& translator.Assignable<UnityEngine.Rendering.RenderBufferLoadAction>(L, 6)&& translator.Assignable<UnityEngine.Rendering.RenderBufferStoreAction>(L, 7)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _color;translator.Get(L, 2, out _color);
                    UnityEngine.Rendering.RenderBufferLoadAction _colorLoadAction;translator.Get(L, 3, out _colorLoadAction);
                    UnityEngine.Rendering.RenderBufferStoreAction _colorStoreAction;translator.Get(L, 4, out _colorStoreAction);
                    UnityEngine.Rendering.RenderTargetIdentifier _depth;translator.Get(L, 5, out _depth);
                    UnityEngine.Rendering.RenderBufferLoadAction _depthLoadAction;translator.Get(L, 6, out _depthLoadAction);
                    UnityEngine.Rendering.RenderBufferStoreAction _depthStoreAction;translator.Get(L, 7, out _depthStoreAction);
                    
                    gen_to_be_invoked.SetRenderTarget( _color, _colorLoadAction, _colorStoreAction, _depth, _depthLoadAction, _depthStoreAction );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRenderTarget!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeBufferData(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 2)&& translator.Assignable<System.Array>(L, 3)) 
                {
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 2, typeof(UnityEngine.ComputeBuffer));
                    System.Array _data = (System.Array)translator.GetObject(L, 3, typeof(System.Array));
                    
                    gen_to_be_invoked.SetComputeBufferData( _buffer, _data );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 2)&& translator.Assignable<System.Array>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 2, typeof(UnityEngine.ComputeBuffer));
                    System.Array _data = (System.Array)translator.GetObject(L, 3, typeof(System.Array));
                    int _managedBufferStartIndex = LuaAPI.xlua_tointeger(L, 4);
                    int _graphicsBufferStartIndex = LuaAPI.xlua_tointeger(L, 5);
                    int _count = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetComputeBufferData( _buffer, _data, _managedBufferStartIndex, _graphicsBufferStartIndex, _count );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeBufferData!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeBufferCounterValue(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 2, typeof(UnityEngine.ComputeBuffer));
                    uint _counterValue = LuaAPI.xlua_touint(L, 3);
                    
                    gen_to_be_invoked.SetComputeBufferCounterValue( _buffer, _counterValue );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Dispose(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.Dispose(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Release(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.Release(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateAsyncGraphicsFence(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 1) 
                {
                    
                        var gen_ret = gen_to_be_invoked.CreateAsyncGraphicsFence(  );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Rendering.SynchronisationStage>(L, 2)) 
                {
                    UnityEngine.Rendering.SynchronisationStage _stage;translator.Get(L, 2, out _stage);
                    
                        var gen_ret = gen_to_be_invoked.CreateAsyncGraphicsFence( _stage );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.CreateAsyncGraphicsFence!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateGraphicsFence(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Rendering.GraphicsFenceType _fenceType;translator.Get(L, 2, out _fenceType);
                    UnityEngine.Rendering.SynchronisationStageFlags _stage;translator.Get(L, 3, out _stage);
                    
                        var gen_ret = gen_to_be_invoked.CreateGraphicsFence( _fenceType, _stage );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_WaitOnAsyncGraphicsFence(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Rendering.GraphicsFence>(L, 2)) 
                {
                    UnityEngine.Rendering.GraphicsFence _fence;translator.Get(L, 2, out _fence);
                    
                    gen_to_be_invoked.WaitOnAsyncGraphicsFence( _fence );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Rendering.GraphicsFence>(L, 2)&& translator.Assignable<UnityEngine.Rendering.SynchronisationStage>(L, 3)) 
                {
                    UnityEngine.Rendering.GraphicsFence _fence;translator.Get(L, 2, out _fence);
                    UnityEngine.Rendering.SynchronisationStage _stage;translator.Get(L, 3, out _stage);
                    
                    gen_to_be_invoked.WaitOnAsyncGraphicsFence( _fence, _stage );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Rendering.GraphicsFence>(L, 2)&& translator.Assignable<UnityEngine.Rendering.SynchronisationStageFlags>(L, 3)) 
                {
                    UnityEngine.Rendering.GraphicsFence _fence;translator.Get(L, 2, out _fence);
                    UnityEngine.Rendering.SynchronisationStageFlags _stage;translator.Get(L, 3, out _stage);
                    
                    gen_to_be_invoked.WaitOnAsyncGraphicsFence( _fence, _stage );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.WaitOnAsyncGraphicsFence!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeFloatParams(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    float[] _values = translator.GetParams<float>(L, 4);
                    
                    gen_to_be_invoked.SetComputeFloatParams( _computeShader, _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    float[] _values = translator.GetParams<float>(L, 4);
                    
                    gen_to_be_invoked.SetComputeFloatParams( _computeShader, _name, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeFloatParams!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeIntParams(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    int[] _values = translator.GetParams<int>(L, 4);
                    
                    gen_to_be_invoked.SetComputeIntParams( _computeShader, _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    int[] _values = translator.GetParams<int>(L, 4);
                    
                    gen_to_be_invoked.SetComputeIntParams( _computeShader, _name, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeIntParams!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeTextureParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 5)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    int _nameID = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 5, out _rt);
                    
                    gen_to_be_invoked.SetComputeTextureParam( _computeShader, _kernelIndex, _nameID, _rt );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    int _nameID = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 5, out _rt);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetComputeTextureParam( _computeShader, _kernelIndex, _nameID, _rt, _mipLevel );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 5)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    string _name = LuaAPI.lua_tostring(L, 4);
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 5, out _rt);
                    
                    gen_to_be_invoked.SetComputeTextureParam( _computeShader, _kernelIndex, _name, _rt );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    string _name = LuaAPI.lua_tostring(L, 4);
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 5, out _rt);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetComputeTextureParam( _computeShader, _kernelIndex, _name, _rt, _mipLevel );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.Rendering.RenderTextureSubElement>(L, 7)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    int _nameID = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 5, out _rt);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.Rendering.RenderTextureSubElement _element;translator.Get(L, 7, out _element);
                    
                    gen_to_be_invoked.SetComputeTextureParam( _computeShader, _kernelIndex, _nameID, _rt, _mipLevel, _element );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.Rendering.RenderTextureSubElement>(L, 7)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    string _name = LuaAPI.lua_tostring(L, 4);
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 5, out _rt);
                    int _mipLevel = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.Rendering.RenderTextureSubElement _element;translator.Get(L, 7, out _element);
                    
                    gen_to_be_invoked.SetComputeTextureParam( _computeShader, _kernelIndex, _name, _rt, _mipLevel, _element );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeTextureParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeBufferParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 5)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    int _nameID = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 5, typeof(UnityEngine.ComputeBuffer));
                    
                    gen_to_be_invoked.SetComputeBufferParam( _computeShader, _kernelIndex, _nameID, _buffer );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 5)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    int _nameID = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.GraphicsBuffer _buffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 5, typeof(UnityEngine.GraphicsBuffer));
                    
                    gen_to_be_invoked.SetComputeBufferParam( _computeShader, _kernelIndex, _nameID, _buffer );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 5)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    string _name = LuaAPI.lua_tostring(L, 4);
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 5, typeof(UnityEngine.ComputeBuffer));
                    
                    gen_to_be_invoked.SetComputeBufferParam( _computeShader, _kernelIndex, _name, _buffer );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 5)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    string _name = LuaAPI.lua_tostring(L, 4);
                    UnityEngine.GraphicsBuffer _buffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 5, typeof(UnityEngine.GraphicsBuffer));
                    
                    gen_to_be_invoked.SetComputeBufferParam( _computeShader, _kernelIndex, _name, _buffer );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeBufferParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetComputeConstantBufferParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 4, typeof(UnityEngine.ComputeBuffer));
                    int _offset = LuaAPI.xlua_tointeger(L, 5);
                    int _size = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetComputeConstantBufferParam( _computeShader, _nameID, _buffer, _offset, _size );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.GraphicsBuffer _buffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 4, typeof(UnityEngine.GraphicsBuffer));
                    int _offset = LuaAPI.xlua_tointeger(L, 5);
                    int _size = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetComputeConstantBufferParam( _computeShader, _nameID, _buffer, _offset, _size );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 4, typeof(UnityEngine.ComputeBuffer));
                    int _offset = LuaAPI.xlua_tointeger(L, 5);
                    int _size = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetComputeConstantBufferParam( _computeShader, _name, _buffer, _offset, _size );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.GraphicsBuffer _buffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 4, typeof(UnityEngine.GraphicsBuffer));
                    int _offset = LuaAPI.xlua_tointeger(L, 5);
                    int _size = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetComputeConstantBufferParam( _computeShader, _name, _buffer, _offset, _size );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetComputeConstantBufferParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DispatchCompute(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    int _threadGroupsX = LuaAPI.xlua_tointeger(L, 4);
                    int _threadGroupsY = LuaAPI.xlua_tointeger(L, 5);
                    int _threadGroupsZ = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.DispatchCompute( _computeShader, _kernelIndex, _threadGroupsX, _threadGroupsY, _threadGroupsZ );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.ComputeBuffer _indirectBuffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 4, typeof(UnityEngine.ComputeBuffer));
                    uint _argsOffset = LuaAPI.xlua_touint(L, 5);
                    
                    gen_to_be_invoked.DispatchCompute( _computeShader, _kernelIndex, _indirectBuffer, _argsOffset );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.ComputeShader _computeShader = (UnityEngine.ComputeShader)translator.GetObject(L, 2, typeof(UnityEngine.ComputeShader));
                    int _kernelIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.GraphicsBuffer _indirectBuffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 4, typeof(UnityEngine.GraphicsBuffer));
                    uint _argsOffset = LuaAPI.xlua_touint(L, 5);
                    
                    gen_to_be_invoked.DispatchCompute( _computeShader, _kernelIndex, _indirectBuffer, _argsOffset );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.DispatchCompute!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_BuildRayTracingAccelerationStructure(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure>(L, 2)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure _accelerationStructure = (UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure));
                    
                    gen_to_be_invoked.BuildRayTracingAccelerationStructure( _accelerationStructure );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure>(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure _accelerationStructure = (UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure));
                    UnityEngine.Vector3 _relativeOrigin;translator.Get(L, 3, out _relativeOrigin);
                    
                    gen_to_be_invoked.BuildRayTracingAccelerationStructure( _accelerationStructure, _relativeOrigin );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.BuildRayTracingAccelerationStructure!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingAccelerationStructure(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure>(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure _rayTracingAccelerationStructure = (UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure)translator.GetObject(L, 4, typeof(UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure));
                    
                    gen_to_be_invoked.SetRayTracingAccelerationStructure( _rayTracingShader, _nameID, _rayTracingAccelerationStructure );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure>(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure _rayTracingAccelerationStructure = (UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure)translator.GetObject(L, 4, typeof(UnityEngine.Experimental.Rendering.RayTracingAccelerationStructure));
                    
                    gen_to_be_invoked.SetRayTracingAccelerationStructure( _rayTracingShader, _name, _rayTracingAccelerationStructure );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingAccelerationStructure!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingBufferParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 4, typeof(UnityEngine.ComputeBuffer));
                    
                    gen_to_be_invoked.SetRayTracingBufferParam( _rayTracingShader, _nameID, _buffer );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 4, typeof(UnityEngine.ComputeBuffer));
                    
                    gen_to_be_invoked.SetRayTracingBufferParam( _rayTracingShader, _name, _buffer );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingBufferParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingConstantBufferParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 4, typeof(UnityEngine.ComputeBuffer));
                    int _offset = LuaAPI.xlua_tointeger(L, 5);
                    int _size = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetRayTracingConstantBufferParam( _rayTracingShader, _nameID, _buffer, _offset, _size );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.GraphicsBuffer _buffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 4, typeof(UnityEngine.GraphicsBuffer));
                    int _offset = LuaAPI.xlua_tointeger(L, 5);
                    int _size = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetRayTracingConstantBufferParam( _rayTracingShader, _nameID, _buffer, _offset, _size );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 4, typeof(UnityEngine.ComputeBuffer));
                    int _offset = LuaAPI.xlua_tointeger(L, 5);
                    int _size = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetRayTracingConstantBufferParam( _rayTracingShader, _name, _buffer, _offset, _size );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.GraphicsBuffer _buffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 4, typeof(UnityEngine.GraphicsBuffer));
                    int _offset = LuaAPI.xlua_tointeger(L, 5);
                    int _size = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.SetRayTracingConstantBufferParam( _rayTracingShader, _name, _buffer, _offset, _size );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingConstantBufferParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingTextureParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 4, out _rt);
                    
                    gen_to_be_invoked.SetRayTracingTextureParam( _rayTracingShader, _nameID, _rt );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 4, out _rt);
                    
                    gen_to_be_invoked.SetRayTracingTextureParam( _rayTracingShader, _name, _rt );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingTextureParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingFloatParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    float _val = (float)LuaAPI.lua_tonumber(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingFloatParam( _rayTracingShader, _nameID, _val );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    float _val = (float)LuaAPI.lua_tonumber(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingFloatParam( _rayTracingShader, _name, _val );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingFloatParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingFloatParams(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    float[] _values = translator.GetParams<float>(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingFloatParams( _rayTracingShader, _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    float[] _values = translator.GetParams<float>(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingFloatParams( _rayTracingShader, _name, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingFloatParams!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingIntParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    int _val = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingIntParam( _rayTracingShader, _nameID, _val );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    int _val = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingIntParam( _rayTracingShader, _name, _val );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingIntParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingIntParams(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    int[] _values = translator.GetParams<int>(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingIntParams( _rayTracingShader, _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    int[] _values = translator.GetParams<int>(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingIntParams( _rayTracingShader, _name, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingIntParams!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingVectorParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Vector4>(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Vector4 _val;translator.Get(L, 4, out _val);
                    
                    gen_to_be_invoked.SetRayTracingVectorParam( _rayTracingShader, _nameID, _val );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Vector4>(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.Vector4 _val;translator.Get(L, 4, out _val);
                    
                    gen_to_be_invoked.SetRayTracingVectorParam( _rayTracingShader, _name, _val );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingVectorParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingVectorArrayParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || translator.Assignable<UnityEngine.Vector4>(L, 4))) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Vector4[] _values = translator.GetParams<UnityEngine.Vector4>(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingVectorArrayParam( _rayTracingShader, _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || translator.Assignable<UnityEngine.Vector4>(L, 4))) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.Vector4[] _values = translator.GetParams<UnityEngine.Vector4>(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingVectorArrayParam( _rayTracingShader, _name, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingVectorArrayParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingMatrixParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Matrix4x4 _val;translator.Get(L, 4, out _val);
                    
                    gen_to_be_invoked.SetRayTracingMatrixParam( _rayTracingShader, _nameID, _val );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 4)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.Matrix4x4 _val;translator.Get(L, 4, out _val);
                    
                    gen_to_be_invoked.SetRayTracingMatrixParam( _rayTracingShader, _name, _val );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingMatrixParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRayTracingMatrixArrayParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || translator.Assignable<UnityEngine.Matrix4x4>(L, 4))) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Matrix4x4[] _values = translator.GetParams<UnityEngine.Matrix4x4>(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingMatrixArrayParam( _rayTracingShader, _nameID, _values );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count >= 3&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || translator.Assignable<UnityEngine.Matrix4x4>(L, 4))) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    UnityEngine.Matrix4x4[] _values = translator.GetParams<UnityEngine.Matrix4x4>(L, 4);
                    
                    gen_to_be_invoked.SetRayTracingMatrixArrayParam( _rayTracingShader, _name, _values );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRayTracingMatrixArrayParam!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DispatchRays(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.Camera>(L, 7)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _rayGenName = LuaAPI.lua_tostring(L, 3);
                    uint _width = LuaAPI.xlua_touint(L, 4);
                    uint _height = LuaAPI.xlua_touint(L, 5);
                    uint _depth = LuaAPI.xlua_touint(L, 6);
                    UnityEngine.Camera _camera = (UnityEngine.Camera)translator.GetObject(L, 7, typeof(UnityEngine.Camera));
                    
                    gen_to_be_invoked.DispatchRays( _rayTracingShader, _rayGenName, _width, _height, _depth, _camera );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Experimental.Rendering.RayTracingShader>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Experimental.Rendering.RayTracingShader _rayTracingShader = (UnityEngine.Experimental.Rendering.RayTracingShader)translator.GetObject(L, 2, typeof(UnityEngine.Experimental.Rendering.RayTracingShader));
                    string _rayGenName = LuaAPI.lua_tostring(L, 3);
                    uint _width = LuaAPI.xlua_touint(L, 4);
                    uint _height = LuaAPI.xlua_touint(L, 5);
                    uint _depth = LuaAPI.xlua_touint(L, 6);
                    
                    gen_to_be_invoked.DispatchRays( _rayTracingShader, _rayGenName, _width, _height, _depth );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.DispatchRays!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GenerateMips(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 2, out _rt);
                    
                    gen_to_be_invoked.GenerateMips( _rt );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.RenderTexture>(L, 2)) 
                {
                    UnityEngine.RenderTexture _rt = (UnityEngine.RenderTexture)translator.GetObject(L, 2, typeof(UnityEngine.RenderTexture));
                    
                    gen_to_be_invoked.GenerateMips( _rt );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.GenerateMips!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ResolveAntiAliasedSurface(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.RenderTexture>(L, 2)&& translator.Assignable<UnityEngine.RenderTexture>(L, 3)) 
                {
                    UnityEngine.RenderTexture _rt = (UnityEngine.RenderTexture)translator.GetObject(L, 2, typeof(UnityEngine.RenderTexture));
                    UnityEngine.RenderTexture _target = (UnityEngine.RenderTexture)translator.GetObject(L, 3, typeof(UnityEngine.RenderTexture));
                    
                    gen_to_be_invoked.ResolveAntiAliasedSurface( _rt, _target );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.RenderTexture>(L, 2)) 
                {
                    UnityEngine.RenderTexture _rt = (UnityEngine.RenderTexture)translator.GetObject(L, 2, typeof(UnityEngine.RenderTexture));
                    
                    gen_to_be_invoked.ResolveAntiAliasedSurface( _rt );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.ResolveAntiAliasedSurface!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawMesh(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    
                    gen_to_be_invoked.DrawMesh( _mesh, _matrix, _material );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.DrawMesh( _mesh, _matrix, _material, _submeshIndex );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 5);
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.DrawMesh( _mesh, _matrix, _material, _submeshIndex, _shaderPass );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 7)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 5);
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 7, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawMesh( _mesh, _matrix, _material, _submeshIndex, _shaderPass, _properties );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.DrawMesh!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawRenderer(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Renderer>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)) 
                {
                    UnityEngine.Renderer _renderer = (UnityEngine.Renderer)translator.GetObject(L, 2, typeof(UnityEngine.Renderer));
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    
                    gen_to_be_invoked.DrawRenderer( _renderer, _material );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Renderer>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.Renderer _renderer = (UnityEngine.Renderer)translator.GetObject(L, 2, typeof(UnityEngine.Renderer));
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.DrawRenderer( _renderer, _material, _submeshIndex );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Renderer>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Renderer _renderer = (UnityEngine.Renderer)translator.GetObject(L, 2, typeof(UnityEngine.Renderer));
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 4);
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.DrawRenderer( _renderer, _material, _submeshIndex, _shaderPass );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.DrawRenderer!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawProcedural(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Matrix4x4>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.MeshTopology>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 2, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 5, out _topology);
                    int _vertexCount = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.DrawProcedural( _matrix, _material, _shaderPass, _topology, _vertexCount );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Matrix4x4>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.MeshTopology>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 2, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 5, out _topology);
                    int _vertexCount = LuaAPI.xlua_tointeger(L, 6);
                    int _instanceCount = LuaAPI.xlua_tointeger(L, 7);
                    
                    gen_to_be_invoked.DrawProcedural( _matrix, _material, _shaderPass, _topology, _vertexCount, _instanceCount );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.MeshTopology>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.GraphicsBuffer _indexBuffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 6, out _topology);
                    int _indexCount = LuaAPI.xlua_tointeger(L, 7);
                    
                    gen_to_be_invoked.DrawProcedural( _indexBuffer, _matrix, _material, _shaderPass, _topology, _indexCount );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& translator.Assignable<UnityEngine.Matrix4x4>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.MeshTopology>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 8)) 
                {
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 2, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 5, out _topology);
                    int _vertexCount = LuaAPI.xlua_tointeger(L, 6);
                    int _instanceCount = LuaAPI.xlua_tointeger(L, 7);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 8, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawProcedural( _matrix, _material, _shaderPass, _topology, _vertexCount, _instanceCount, _properties );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.MeshTopology>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)) 
                {
                    UnityEngine.GraphicsBuffer _indexBuffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 6, out _topology);
                    int _indexCount = LuaAPI.xlua_tointeger(L, 7);
                    int _instanceCount = LuaAPI.xlua_tointeger(L, 8);
                    
                    gen_to_be_invoked.DrawProcedural( _indexBuffer, _matrix, _material, _shaderPass, _topology, _indexCount, _instanceCount );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 9&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.MeshTopology>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 9)) 
                {
                    UnityEngine.GraphicsBuffer _indexBuffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 6, out _topology);
                    int _indexCount = LuaAPI.xlua_tointeger(L, 7);
                    int _instanceCount = LuaAPI.xlua_tointeger(L, 8);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 9, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawProcedural( _indexBuffer, _matrix, _material, _shaderPass, _topology, _indexCount, _instanceCount, _properties );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.DrawProcedural!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawProceduralIndirect(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Matrix4x4>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.MeshTopology>(L, 5)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 6)) 
                {
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 2, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 5, out _topology);
                    UnityEngine.ComputeBuffer _bufferWithArgs = (UnityEngine.ComputeBuffer)translator.GetObject(L, 6, typeof(UnityEngine.ComputeBuffer));
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _matrix, _material, _shaderPass, _topology, _bufferWithArgs );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Matrix4x4>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.MeshTopology>(L, 5)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 6)) 
                {
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 2, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 5, out _topology);
                    UnityEngine.GraphicsBuffer _bufferWithArgs = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 6, typeof(UnityEngine.GraphicsBuffer));
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _matrix, _material, _shaderPass, _topology, _bufferWithArgs );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Matrix4x4>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.MeshTopology>(L, 5)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 2, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 5, out _topology);
                    UnityEngine.ComputeBuffer _bufferWithArgs = (UnityEngine.ComputeBuffer)translator.GetObject(L, 6, typeof(UnityEngine.ComputeBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 7);
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _matrix, _material, _shaderPass, _topology, _bufferWithArgs, _argsOffset );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Matrix4x4>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.MeshTopology>(L, 5)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 2, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 5, out _topology);
                    UnityEngine.GraphicsBuffer _bufferWithArgs = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 6, typeof(UnityEngine.GraphicsBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 7);
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _matrix, _material, _shaderPass, _topology, _bufferWithArgs, _argsOffset );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.MeshTopology>(L, 6)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 7)) 
                {
                    UnityEngine.GraphicsBuffer _indexBuffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 6, out _topology);
                    UnityEngine.ComputeBuffer _bufferWithArgs = (UnityEngine.ComputeBuffer)translator.GetObject(L, 7, typeof(UnityEngine.ComputeBuffer));
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _indexBuffer, _matrix, _material, _shaderPass, _topology, _bufferWithArgs );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.MeshTopology>(L, 6)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 7)) 
                {
                    UnityEngine.GraphicsBuffer _indexBuffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 6, out _topology);
                    UnityEngine.GraphicsBuffer _bufferWithArgs = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 7, typeof(UnityEngine.GraphicsBuffer));
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _indexBuffer, _matrix, _material, _shaderPass, _topology, _bufferWithArgs );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& translator.Assignable<UnityEngine.Matrix4x4>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.MeshTopology>(L, 5)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 8)) 
                {
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 2, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 5, out _topology);
                    UnityEngine.ComputeBuffer _bufferWithArgs = (UnityEngine.ComputeBuffer)translator.GetObject(L, 6, typeof(UnityEngine.ComputeBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 7);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 8, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _matrix, _material, _shaderPass, _topology, _bufferWithArgs, _argsOffset, _properties );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.MeshTopology>(L, 6)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)) 
                {
                    UnityEngine.GraphicsBuffer _indexBuffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 6, out _topology);
                    UnityEngine.ComputeBuffer _bufferWithArgs = (UnityEngine.ComputeBuffer)translator.GetObject(L, 7, typeof(UnityEngine.ComputeBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 8);
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _indexBuffer, _matrix, _material, _shaderPass, _topology, _bufferWithArgs, _argsOffset );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& translator.Assignable<UnityEngine.Matrix4x4>(L, 2)&& translator.Assignable<UnityEngine.Material>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.MeshTopology>(L, 5)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 8)) 
                {
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 2, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 3, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 5, out _topology);
                    UnityEngine.GraphicsBuffer _bufferWithArgs = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 6, typeof(UnityEngine.GraphicsBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 7);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 8, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _matrix, _material, _shaderPass, _topology, _bufferWithArgs, _argsOffset, _properties );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.MeshTopology>(L, 6)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)) 
                {
                    UnityEngine.GraphicsBuffer _indexBuffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 6, out _topology);
                    UnityEngine.GraphicsBuffer _bufferWithArgs = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 7, typeof(UnityEngine.GraphicsBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 8);
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _indexBuffer, _matrix, _material, _shaderPass, _topology, _bufferWithArgs, _argsOffset );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 9&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.MeshTopology>(L, 6)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 9)) 
                {
                    UnityEngine.GraphicsBuffer _indexBuffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 6, out _topology);
                    UnityEngine.ComputeBuffer _bufferWithArgs = (UnityEngine.ComputeBuffer)translator.GetObject(L, 7, typeof(UnityEngine.ComputeBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 8);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 9, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _indexBuffer, _matrix, _material, _shaderPass, _topology, _bufferWithArgs, _argsOffset, _properties );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 9&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.Matrix4x4>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.MeshTopology>(L, 6)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 9)) 
                {
                    UnityEngine.GraphicsBuffer _indexBuffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.Matrix4x4 _matrix;translator.Get(L, 3, out _matrix);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.MeshTopology _topology;translator.Get(L, 6, out _topology);
                    UnityEngine.GraphicsBuffer _bufferWithArgs = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 7, typeof(UnityEngine.GraphicsBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 8);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 9, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawProceduralIndirect( _indexBuffer, _matrix, _material, _shaderPass, _topology, _bufferWithArgs, _argsOffset, _properties );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.DrawProceduralIndirect!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawMeshInstanced(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.Matrix4x4[]>(L, 6)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.Matrix4x4[] _matrices = (UnityEngine.Matrix4x4[])translator.GetObject(L, 6, typeof(UnityEngine.Matrix4x4[]));
                    
                    gen_to_be_invoked.DrawMeshInstanced( _mesh, _submeshIndex, _material, _shaderPass, _matrices );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.Matrix4x4[]>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.Matrix4x4[] _matrices = (UnityEngine.Matrix4x4[])translator.GetObject(L, 6, typeof(UnityEngine.Matrix4x4[]));
                    int _count = LuaAPI.xlua_tointeger(L, 7);
                    
                    gen_to_be_invoked.DrawMeshInstanced( _mesh, _submeshIndex, _material, _shaderPass, _matrices, _count );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.Matrix4x4[]>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 8)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.Matrix4x4[] _matrices = (UnityEngine.Matrix4x4[])translator.GetObject(L, 6, typeof(UnityEngine.Matrix4x4[]));
                    int _count = LuaAPI.xlua_tointeger(L, 7);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 8, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawMeshInstanced( _mesh, _submeshIndex, _material, _shaderPass, _matrices, _count, _properties );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.DrawMeshInstanced!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawMeshInstancedProcedural(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 7)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    int _count = LuaAPI.xlua_tointeger(L, 6);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 7, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawMeshInstancedProcedural( _mesh, _submeshIndex, _material, _shaderPass, _count, _properties );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    int _count = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.DrawMeshInstancedProcedural( _mesh, _submeshIndex, _material, _shaderPass, _count );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.DrawMeshInstancedProcedural!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawMeshInstancedIndirect(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 6)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.ComputeBuffer _bufferWithArgs = (UnityEngine.ComputeBuffer)translator.GetObject(L, 6, typeof(UnityEngine.ComputeBuffer));
                    
                    gen_to_be_invoked.DrawMeshInstancedIndirect( _mesh, _submeshIndex, _material, _shaderPass, _bufferWithArgs );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 6)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.GraphicsBuffer _bufferWithArgs = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 6, typeof(UnityEngine.GraphicsBuffer));
                    
                    gen_to_be_invoked.DrawMeshInstancedIndirect( _mesh, _submeshIndex, _material, _shaderPass, _bufferWithArgs );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.ComputeBuffer _bufferWithArgs = (UnityEngine.ComputeBuffer)translator.GetObject(L, 6, typeof(UnityEngine.ComputeBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 7);
                    
                    gen_to_be_invoked.DrawMeshInstancedIndirect( _mesh, _submeshIndex, _material, _shaderPass, _bufferWithArgs, _argsOffset );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.GraphicsBuffer _bufferWithArgs = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 6, typeof(UnityEngine.GraphicsBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 7);
                    
                    gen_to_be_invoked.DrawMeshInstancedIndirect( _mesh, _submeshIndex, _material, _shaderPass, _bufferWithArgs, _argsOffset );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 8)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.ComputeBuffer _bufferWithArgs = (UnityEngine.ComputeBuffer)translator.GetObject(L, 6, typeof(UnityEngine.ComputeBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 7);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 8, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawMeshInstancedIndirect( _mesh, _submeshIndex, _material, _shaderPass, _bufferWithArgs, _argsOffset, _properties );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& translator.Assignable<UnityEngine.MaterialPropertyBlock>(L, 8)) 
                {
                    UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
                    int _submeshIndex = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Material _material = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _shaderPass = LuaAPI.xlua_tointeger(L, 5);
                    UnityEngine.GraphicsBuffer _bufferWithArgs = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 6, typeof(UnityEngine.GraphicsBuffer));
                    int _argsOffset = LuaAPI.xlua_tointeger(L, 7);
                    UnityEngine.MaterialPropertyBlock _properties = (UnityEngine.MaterialPropertyBlock)translator.GetObject(L, 8, typeof(UnityEngine.MaterialPropertyBlock));
                    
                    gen_to_be_invoked.DrawMeshInstancedIndirect( _mesh, _submeshIndex, _material, _shaderPass, _bufferWithArgs, _argsOffset, _properties );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.DrawMeshInstancedIndirect!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawOcclusionMesh(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.RectInt _normalizedCamViewport;translator.Get(L, 2, out _normalizedCamViewport);
                    
                    gen_to_be_invoked.DrawOcclusionMesh( _normalizedCamViewport );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRandomWriteTarget(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)) 
                {
                    int _index = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 3, out _rt);
                    
                    gen_to_be_invoked.SetRandomWriteTarget( _index, _rt );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 3)) 
                {
                    int _index = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 3, typeof(UnityEngine.ComputeBuffer));
                    
                    gen_to_be_invoked.SetRandomWriteTarget( _index, _buffer );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 3)) 
                {
                    int _index = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.GraphicsBuffer _buffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 3, typeof(UnityEngine.GraphicsBuffer));
                    
                    gen_to_be_invoked.SetRandomWriteTarget( _index, _buffer );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) 
                {
                    int _index = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 3, typeof(UnityEngine.ComputeBuffer));
                    bool _preserveCounterValue = LuaAPI.lua_toboolean(L, 4);
                    
                    gen_to_be_invoked.SetRandomWriteTarget( _index, _buffer, _preserveCounterValue );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) 
                {
                    int _index = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.GraphicsBuffer _buffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 3, typeof(UnityEngine.GraphicsBuffer));
                    bool _preserveCounterValue = LuaAPI.lua_toboolean(L, 4);
                    
                    gen_to_be_invoked.SetRandomWriteTarget( _index, _buffer, _preserveCounterValue );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetRandomWriteTarget!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CopyCounterValue(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 2)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.ComputeBuffer _src = (UnityEngine.ComputeBuffer)translator.GetObject(L, 2, typeof(UnityEngine.ComputeBuffer));
                    UnityEngine.ComputeBuffer _dst = (UnityEngine.ComputeBuffer)translator.GetObject(L, 3, typeof(UnityEngine.ComputeBuffer));
                    uint _dstOffsetBytes = LuaAPI.xlua_touint(L, 4);
                    
                    gen_to_be_invoked.CopyCounterValue( _src, _dst, _dstOffsetBytes );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.GraphicsBuffer _src = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.ComputeBuffer _dst = (UnityEngine.ComputeBuffer)translator.GetObject(L, 3, typeof(UnityEngine.ComputeBuffer));
                    uint _dstOffsetBytes = LuaAPI.xlua_touint(L, 4);
                    
                    gen_to_be_invoked.CopyCounterValue( _src, _dst, _dstOffsetBytes );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 2)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.ComputeBuffer _src = (UnityEngine.ComputeBuffer)translator.GetObject(L, 2, typeof(UnityEngine.ComputeBuffer));
                    UnityEngine.GraphicsBuffer _dst = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 3, typeof(UnityEngine.GraphicsBuffer));
                    uint _dstOffsetBytes = LuaAPI.xlua_touint(L, 4);
                    
                    gen_to_be_invoked.CopyCounterValue( _src, _dst, _dstOffsetBytes );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    UnityEngine.GraphicsBuffer _src = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    UnityEngine.GraphicsBuffer _dst = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 3, typeof(UnityEngine.GraphicsBuffer));
                    uint _dstOffsetBytes = LuaAPI.xlua_touint(L, 4);
                    
                    gen_to_be_invoked.CopyCounterValue( _src, _dst, _dstOffsetBytes );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.CopyCounterValue!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CopyTexture(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _src;translator.Get(L, 2, out _src);
                    UnityEngine.Rendering.RenderTargetIdentifier _dst;translator.Get(L, 3, out _dst);
                    
                    gen_to_be_invoked.CopyTexture( _src, _dst );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _src;translator.Get(L, 2, out _src);
                    int _srcElement = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Rendering.RenderTargetIdentifier _dst;translator.Get(L, 4, out _dst);
                    int _dstElement = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.CopyTexture( _src, _srcElement, _dst, _dstElement );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _src;translator.Get(L, 2, out _src);
                    int _srcElement = LuaAPI.xlua_tointeger(L, 3);
                    int _srcMip = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.Rendering.RenderTargetIdentifier _dst;translator.Get(L, 5, out _dst);
                    int _dstElement = LuaAPI.xlua_tointeger(L, 6);
                    int _dstMip = LuaAPI.xlua_tointeger(L, 7);
                    
                    gen_to_be_invoked.CopyTexture( _src, _srcElement, _srcMip, _dst, _dstElement, _dstMip );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 13&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 9)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 10)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 11)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 12)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 13)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _src;translator.Get(L, 2, out _src);
                    int _srcElement = LuaAPI.xlua_tointeger(L, 3);
                    int _srcMip = LuaAPI.xlua_tointeger(L, 4);
                    int _srcX = LuaAPI.xlua_tointeger(L, 5);
                    int _srcY = LuaAPI.xlua_tointeger(L, 6);
                    int _srcWidth = LuaAPI.xlua_tointeger(L, 7);
                    int _srcHeight = LuaAPI.xlua_tointeger(L, 8);
                    UnityEngine.Rendering.RenderTargetIdentifier _dst;translator.Get(L, 9, out _dst);
                    int _dstElement = LuaAPI.xlua_tointeger(L, 10);
                    int _dstMip = LuaAPI.xlua_tointeger(L, 11);
                    int _dstX = LuaAPI.xlua_tointeger(L, 12);
                    int _dstY = LuaAPI.xlua_tointeger(L, 13);
                    
                    gen_to_be_invoked.CopyTexture( _src, _srcElement, _srcMip, _srcX, _srcY, _srcWidth, _srcHeight, _dst, _dstElement, _dstMip, _dstX, _dstY );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.CopyTexture!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Blit(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Texture>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)) 
                {
                    UnityEngine.Texture _source = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    
                    gen_to_be_invoked.Blit( _source, _dest );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _source;translator.Get(L, 2, out _source);
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    
                    gen_to_be_invoked.Blit( _source, _dest );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _source;translator.Get(L, 2, out _source);
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    int _sourceDepthSlice = LuaAPI.xlua_tointeger(L, 4);
                    int _destDepthSlice = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.Blit( _source, _dest, _sourceDepthSlice, _destDepthSlice );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Texture>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)) 
                {
                    UnityEngine.Texture _source = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    UnityEngine.Material _mat = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    
                    gen_to_be_invoked.Blit( _source, _dest, _mat );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _source;translator.Get(L, 2, out _source);
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    UnityEngine.Material _mat = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    
                    gen_to_be_invoked.Blit( _source, _dest, _mat );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Texture>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Texture _source = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    UnityEngine.Material _mat = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _pass = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.Blit( _source, _dest, _mat, _pass );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _source;translator.Get(L, 2, out _source);
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    UnityEngine.Material _mat = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _pass = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.Blit( _source, _dest, _mat, _pass );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& translator.Assignable<UnityEngine.Material>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _source;translator.Get(L, 2, out _source);
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    UnityEngine.Material _mat = (UnityEngine.Material)translator.GetObject(L, 4, typeof(UnityEngine.Material));
                    int _pass = LuaAPI.xlua_tointeger(L, 5);
                    int _destDepthSlice = LuaAPI.xlua_tointeger(L, 6);
                    
                    gen_to_be_invoked.Blit( _source, _dest, _mat, _pass, _destDepthSlice );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Texture>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& translator.Assignable<UnityEngine.Vector2>(L, 4)&& translator.Assignable<UnityEngine.Vector2>(L, 5)) 
                {
                    UnityEngine.Texture _source = (UnityEngine.Texture)translator.GetObject(L, 2, typeof(UnityEngine.Texture));
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    UnityEngine.Vector2 _scale;translator.Get(L, 4, out _scale);
                    UnityEngine.Vector2 _offset;translator.Get(L, 5, out _offset);
                    
                    gen_to_be_invoked.Blit( _source, _dest, _scale, _offset );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& translator.Assignable<UnityEngine.Vector2>(L, 4)&& translator.Assignable<UnityEngine.Vector2>(L, 5)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _source;translator.Get(L, 2, out _source);
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    UnityEngine.Vector2 _scale;translator.Get(L, 4, out _scale);
                    UnityEngine.Vector2 _offset;translator.Get(L, 5, out _offset);
                    
                    gen_to_be_invoked.Blit( _source, _dest, _scale, _offset );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& translator.Assignable<UnityEngine.Vector2>(L, 4)&& translator.Assignable<UnityEngine.Vector2>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _source;translator.Get(L, 2, out _source);
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 3, out _dest);
                    UnityEngine.Vector2 _scale;translator.Get(L, 4, out _scale);
                    UnityEngine.Vector2 _offset;translator.Get(L, 5, out _offset);
                    int _sourceDepthSlice = LuaAPI.xlua_tointeger(L, 6);
                    int _destDepthSlice = LuaAPI.xlua_tointeger(L, 7);
                    
                    gen_to_be_invoked.Blit( _source, _dest, _scale, _offset, _sourceDepthSlice, _destDepthSlice );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.Blit!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalTexture(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.Rendering.RenderTargetIdentifier _value;translator.Get(L, 3, out _value);
                    
                    gen_to_be_invoked.SetGlobalTexture( _nameID, _value );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    UnityEngine.Rendering.RenderTargetIdentifier _value;translator.Get(L, 3, out _value);
                    
                    gen_to_be_invoked.SetGlobalTexture( _name, _value );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& translator.Assignable<UnityEngine.Rendering.RenderTextureSubElement>(L, 4)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.Rendering.RenderTargetIdentifier _value;translator.Get(L, 3, out _value);
                    UnityEngine.Rendering.RenderTextureSubElement _element;translator.Get(L, 4, out _element);
                    
                    gen_to_be_invoked.SetGlobalTexture( _nameID, _value, _element );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.Rendering.RenderTargetIdentifier>(L, 3)&& translator.Assignable<UnityEngine.Rendering.RenderTextureSubElement>(L, 4)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    UnityEngine.Rendering.RenderTargetIdentifier _value;translator.Get(L, 3, out _value);
                    UnityEngine.Rendering.RenderTextureSubElement _element;translator.Get(L, 4, out _element);
                    
                    gen_to_be_invoked.SetGlobalTexture( _name, _value, _element );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalTexture!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalBuffer(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.ComputeBuffer _value = (UnityEngine.ComputeBuffer)translator.GetObject(L, 3, typeof(UnityEngine.ComputeBuffer));
                    
                    gen_to_be_invoked.SetGlobalBuffer( _nameID, _value );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 3)) 
                {
                    int _nameID = LuaAPI.xlua_tointeger(L, 2);
                    UnityEngine.GraphicsBuffer _value = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 3, typeof(UnityEngine.GraphicsBuffer));
                    
                    gen_to_be_invoked.SetGlobalBuffer( _nameID, _value );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 3)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    UnityEngine.ComputeBuffer _value = (UnityEngine.ComputeBuffer)translator.GetObject(L, 3, typeof(UnityEngine.ComputeBuffer));
                    
                    gen_to_be_invoked.SetGlobalBuffer( _name, _value );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 3)) 
                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    UnityEngine.GraphicsBuffer _value = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 3, typeof(UnityEngine.GraphicsBuffer));
                    
                    gen_to_be_invoked.SetGlobalBuffer( _name, _value );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalBuffer!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetGlobalConstantBuffer(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 2, typeof(UnityEngine.ComputeBuffer));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    int _offset = LuaAPI.xlua_tointeger(L, 4);
                    int _size = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.SetGlobalConstantBuffer( _buffer, _nameID, _offset, _size );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.GraphicsBuffer _buffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    int _nameID = LuaAPI.xlua_tointeger(L, 3);
                    int _offset = LuaAPI.xlua_tointeger(L, 4);
                    int _size = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.SetGlobalConstantBuffer( _buffer, _nameID, _offset, _size );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.ComputeBuffer>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.ComputeBuffer _buffer = (UnityEngine.ComputeBuffer)translator.GetObject(L, 2, typeof(UnityEngine.ComputeBuffer));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    int _offset = LuaAPI.xlua_tointeger(L, 4);
                    int _size = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.SetGlobalConstantBuffer( _buffer, _name, _offset, _size );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.GraphicsBuffer>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.GraphicsBuffer _buffer = (UnityEngine.GraphicsBuffer)translator.GetObject(L, 2, typeof(UnityEngine.GraphicsBuffer));
                    string _name = LuaAPI.lua_tostring(L, 3);
                    int _offset = LuaAPI.xlua_tointeger(L, 4);
                    int _size = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.SetGlobalConstantBuffer( _buffer, _name, _offset, _size );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.CommandBuffer.SetGlobalConstantBuffer!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetShadowSamplingMode(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _shadowmap;translator.Get(L, 2, out _shadowmap);
                    UnityEngine.Rendering.ShadowSamplingMode _mode;translator.Get(L, 3, out _mode);
                    
                    gen_to_be_invoked.SetShadowSamplingMode( _shadowmap, _mode );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetSinglePassStereo(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Rendering.SinglePassStereoMode _mode;translator.Get(L, 2, out _mode);
                    
                    gen_to_be_invoked.SetSinglePassStereo( _mode );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IssuePluginEvent(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    System.IntPtr _callback = LuaAPI.lua_touserdata(L, 2);
                    int _eventID = LuaAPI.xlua_tointeger(L, 3);
                    
                    gen_to_be_invoked.IssuePluginEvent( _callback, _eventID );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IssuePluginEventAndData(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    System.IntPtr _callback = LuaAPI.lua_touserdata(L, 2);
                    int _eventID = LuaAPI.xlua_tointeger(L, 3);
                    System.IntPtr _data = LuaAPI.lua_touserdata(L, 4);
                    
                    gen_to_be_invoked.IssuePluginEventAndData( _callback, _eventID, _data );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IssuePluginCustomBlit(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    System.IntPtr _callback = LuaAPI.lua_touserdata(L, 2);
                    uint _command = LuaAPI.xlua_touint(L, 3);
                    UnityEngine.Rendering.RenderTargetIdentifier _source;translator.Get(L, 4, out _source);
                    UnityEngine.Rendering.RenderTargetIdentifier _dest;translator.Get(L, 5, out _dest);
                    uint _commandParam = LuaAPI.xlua_touint(L, 6);
                    uint _commandFlags = LuaAPI.xlua_touint(L, 7);
                    
                    gen_to_be_invoked.IssuePluginCustomBlit( _callback, _command, _source, _dest, _commandParam, _commandFlags );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IssuePluginCustomTextureUpdateV2(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    System.IntPtr _callback = LuaAPI.lua_touserdata(L, 2);
                    UnityEngine.Texture _targetTexture = (UnityEngine.Texture)translator.GetObject(L, 3, typeof(UnityEngine.Texture));
                    uint _userData = LuaAPI.xlua_touint(L, 4);
                    
                    gen_to_be_invoked.IssuePluginCustomTextureUpdateV2( _callback, _targetTexture, _userData );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ProcessVTFeedback(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _rt;translator.Get(L, 2, out _rt);
                    System.IntPtr _resolver = LuaAPI.lua_touserdata(L, 3);
                    int _slice = LuaAPI.xlua_tointeger(L, 4);
                    int _x = LuaAPI.xlua_tointeger(L, 5);
                    int _width = LuaAPI.xlua_tointeger(L, 6);
                    int _y = LuaAPI.xlua_tointeger(L, 7);
                    int _height = LuaAPI.xlua_tointeger(L, 8);
                    int _mip = LuaAPI.xlua_tointeger(L, 9);
                    
                    gen_to_be_invoked.ProcessVTFeedback( _rt, _resolver, _slice, _x, _width, _y, _height, _mip );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SwitchIntoFastMemory(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _rid;translator.Get(L, 2, out _rid);
                    UnityEngine.Rendering.FastMemoryFlags _fastMemoryFlags;translator.Get(L, 3, out _fastMemoryFlags);
                    float _residency = (float)LuaAPI.lua_tonumber(L, 4);
                    bool _copyContents = LuaAPI.lua_toboolean(L, 5);
                    
                    gen_to_be_invoked.SwitchIntoFastMemory( _rid, _fastMemoryFlags, _residency, _copyContents );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SwitchOutOfFastMemory(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Rendering.RenderTargetIdentifier _rid;translator.Get(L, 2, out _rid);
                    bool _copyContents = LuaAPI.lua_toboolean(L, 3);
                    
                    gen_to_be_invoked.SwitchOutOfFastMemory( _rid, _copyContents );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_name(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.name);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_sizeInBytes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.sizeInBytes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_name(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.CommandBuffer gen_to_be_invoked = (UnityEngine.Rendering.CommandBuffer)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.name = LuaAPI.lua_tostring(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
		
		
		
		
    }
}
